package com.woniu.zsd.permission;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableFeignClients("com.woniu")
@EnableTransactionManagement
@ComponentScan(basePackages = {"com.woniu.commons", "com.woniu.zsd.permission"})
@MapperScan("com.woniu.zsd.permission.mapper")
public class PermissionStart {

    public static void main(String[] args) {
        SpringApplication.run(PermissionStart.class, args);
    }

}
